<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>忘记密码</title>

    <!-- 版本：0.0.2 -->
    <link href="https://cdn.bootcss.com/minireset.css/0.0.2/minireset.min.css" rel="stylesheet">

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">


    <link rel="stylesheet" type="text/css" href="css/common.css?t=1">
    <link rel="stylesheet" type="text/css" href="css/pc/default.css">
    <link rel="stylesheet" type="text/css" href="css/wap/default.css?t=1">
    <link rel="stylesheet" type="text/css" href="css/theme.css">

    <style type="text/css">
    </style>

</head>
<body class="detail">
<div class="backheader around">
  <div class="backbtn flex glyphicon glyphicon-menu-left"></div>
  <div class="backtitle tc flex ">重设密码</div>
  <div class="backmore flex "></div>
</div>
<header class="header">
    <div class="logo ">
        <div class="logoimg"></div>
        <div class="smallmenu">
            <span></span>
            <span></span>
            <span></span>
        </div>
        <div class="cover"></div>
    </div>
    <ul class="menu _bg fr">
        <li class="item"><a class="_active" href="">首页</a></li>
        <li class="item"><a href="">课程</a></li>
        <li class="item"><a href="">实训室</a></li>
        <li class="item"><a href="">我的</a></li>
    </ul>
</header>

<div class="wrap">
<div class="row">
  <div class="col-sm-6">
    <div class="logo" style="text-align: center;height:180px;line-height:180px;font-size:50px;">
      DB
    </div>
  </div>
  <div class="col-sm-6">
  <div class="line1"></div>
  
  <form class="form-horizontal">
    <div class="form-group">
      <label for="inputphone" class="col-xs-3 control-label">手机号:</label>
      <div class="col-xs-9">
        <input type="number" id="phone" class="form-control" id="inputphone" placeholder="填写手机号">
      </div>
    </div>    
    <div class="form-group">
      <div class="col-xs-offset-3 col-xs-4">
        <input type="number" id="yzcode" class="form-control" id="inputcode" placeholder="验证码">
      </div>
      <div class="col-xs-4">
        <button type="submit" id="yzbtn" class="btn btn-block btn-default">验证码</button>
      </div>
    </div>
    <div class="form-group">
      <label for="inputpassword" id="passwrd" class="col-xs-3 control-label">新密码:</label>
      <div class="col-xs-9">
        <input type="password" class="form-control" id="inputpassword" placeholder="填写新密码">
      </div>
    </div>
    <div class="form-group">
      <div class="col-xs-offset-3 col-xs-4">
        <button id="forget" class="btn btn-block btn-success">确 定</button>
      </div>      
      <div class="col-xs-4">
        <button id="gologin" class="btn btn-block btn-link ">返回登录</button>
      </div>       
    </div>
  </form>
  <div class="line1"></div>
  </div>
  </div>
</div>
</body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<script type="text/javascript">


$(document).ready(function(){

var time = 60;
  $('#yzbtn').on('click',function(){
    var that = $(this);
    that.attr('disabled',true);

    var count = setInterval(function(){
      if(time<=0){
        that.attr('disabled',false).text('重新获取');
         clearInterval(count);
         return;
      }

      that.text('('+time+'s)');
      time--;

    },1000)

  })





  })

</script>
</html>